package com.assignwork.vo;

import com.assignwork.util.BigDecimalSerializer;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.ser.std.NullSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import org.springblade.core.tool.utils.DateUtil;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * VoyageShipInfoVO
 */
@Data
@ApiModel(value = "VoyageShipInfoVO对象", description = "船舶信息")
public class VoyageShipInfoVO {

    /** 主键id;主键id */
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "主键id")
    private Long id;
    
    /** 创建时间 */
    @DateTimeFormat(pattern = DateUtil.PATTERN_DATETIME)
    @JsonFormat(pattern = DateUtil.PATTERN_DATETIME)
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;
    
    /** 更新时间 */
    @DateTimeFormat(pattern = DateUtil.PATTERN_DATETIME)
    @JsonFormat(pattern = DateUtil.PATTERN_DATETIME)
    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;
    
    /** 比重粉 */
    @ApiModelProperty(value = "比重粉")
    private String proportionPowder;
    
    /** 比重块 */
    @ApiModelProperty(value = "比重块")
    private String proportionPiece;
    
    /** 水尺F */
    @ApiModelProperty(value = "水尺F")
    private String staffGaugeF;
    
    /** 水尺M */
    @ApiModelProperty(value = "水尺M")
    private String staffGaugeM;
    
    /** 水尺A */
    @ApiModelProperty(value = "水尺A")
    private String staffGaugeA;
    
    /** 完成船舱 */
    @ApiModelProperty(value = "完成船舱")
    private String finishCabin;
    
    /** 总吨 */
    @JsonSerialize(nullsUsing = NullSerializer.class, using = BigDecimalSerializer.class)
    @ApiModelProperty(value = "总吨")
    private BigDecimal totalTon;
    
    /** 作业吨 */
    @JsonSerialize(nullsUsing = NullSerializer.class, using = BigDecimalSerializer.class)
    @ApiModelProperty(value = "作业吨")
    private BigDecimal workedTon;
    
    /** 作业中舱 */
    @ApiModelProperty(value = "作业中舱")
    private String workingCabin;
    
    /** 票数 */
    @JsonSerialize(nullsUsing = NullSerializer.class)
    @ApiModelProperty(value = "票数")
    private Integer billCount;
    
    /** 收齐数 */
    @JsonSerialize(nullsUsing = NullSerializer.class)
    @ApiModelProperty(value = "收齐数")
    private Integer gatherBillCount;
    
    /** 收齐吨 */
    @JsonSerialize(nullsUsing = NullSerializer.class, using = BigDecimalSerializer.class)
    @ApiModelProperty(value = "收齐吨")
    private BigDecimal gatherTon;
    
    /** 破头数 */
    @JsonSerialize(nullsUsing = NullSerializer.class)
    @ApiModelProperty(value = "破头数")
    private Integer startedBillCount;
    
    /** 破头吨 */
    @JsonSerialize(nullsUsing = NullSerializer.class, using = BigDecimalSerializer.class)
    @ApiModelProperty(value = "破头吨")
    private BigDecimal startedTon;
    
    /** 退关数 */
    @JsonSerialize(nullsUsing = NullSerializer.class)
    @ApiModelProperty(value = "退关数")
    private Integer shutOutBillCount;
    
    /** 退关吨 */
    @JsonSerialize(nullsUsing = NullSerializer.class, using = BigDecimalSerializer.class)
    @ApiModelProperty(value = "退关吨")
    private BigDecimal shutOutTon;
    
    /** 备注 */
    @ApiModelProperty(value = "备注")
    private String remark;
    
    /** 航次ID */
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "航次ID")
    private Long voyageId;

    /** 水尺F */
    @ApiModelProperty(value = "完工水尺F")
    private String finishGaugeF;

    /** 水尺A */
    @ApiModelProperty(value = "完工水尺A")
    private String finishGaugeA;

    /** 创建人 */
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "创建人")
    private Long createUser;

    /** 创建人 */
    @ApiModelProperty(value = "创建人")
    private String createUserName;

    /** 更新人 */
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "更新人")
    private Long updateUser;

    /** 更新人 */
    @ApiModelProperty(value = "更新人")
    private String updateUserName;
    
}